var passage1 = passageFactory(5, 2, 1, 3, 150);
assert("Is passage1 length 5? Expected true", array_length_2d(passage1.tiles, 0)==5);
var passage2 = passageFactory(6, 3, 3, 1, 120);
assert("Is passage2 height 6? Expected true", array_height_2d(passage2.tiles)==6);
